home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>9.14.  Scale Image</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-imagewindow-menus-image.html" title="9.  The “Image” Menu" />
- <link rel="prev" href="gimp-image-print-size.html" title="9.13.  Print Size" />
- <link rel="next" href="gimp-image-crop.html" title="9.15.  Crop to Selection" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">9.14. 
- <span lang="en" xml:lang="en">Scale Image</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-image-print-size.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">9. 
- <span lang="en" xml:lang="en">The “<span class="quote">Image</span>” Menu</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-image-crop.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="gimp-image-scale"></a>9.14. 
- <span lang="en" xml:lang="en">Scale Image</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2336 $</td>
- <td align="left">2006-08-07</td>
- <td align="left">scb</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2699361" class="indexterm"></a>
- <p>
- The <span class="guimenuitem">Scale Image</span> command enlarges or reduces
- the physical size of the image by changing the number of pixels it
- contains. It changes the size of the contents of the image and resizes
- the canvas accordingly.
- </p>
- <p>
- It operates on the entire image. If your image has layers of different
- sizes, making the image smaller could shrink some of them down to nothing,
- since a layer cannot be less than one pixel wide or high. If this happens,
- you will be warned before the operation is performed.
- </p>
- <p>
- If you only want to scale a particular layer, use the
- <a class="link" href="gimp-layer-scale.html" title="10.50.  Scale Layer">Scale Layer</a> command.
- </p>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left"><a id="gimp-image-scale-warning"></a>Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- If scaling would produce an image larger than the
- “<span class="quote">Maximum new image size</span>” set in the
- <a class="link" href="gimp-pimping.html#gimp-prefs-environment" title="1.2.  Environment">Environment</a> page of the
- Preferences dialog (which has a default of 64Mb), you are warned and
- asked to confirm the operation before it is performed. You may not
- experience any problems if you confirm the operation, but you should
- be aware that very large images consume a lot of resources and
- extremely large images may take more resources than you have,
- causing <acronym class="acronym">GIMP</acronym> to crash or not perform well.
- </p>
- </td>
- </tr>
- </table>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2699446"></a>9.14.1. 
- <span lang="en" xml:lang="en">Activate the Command</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- You can access this command from the image menubar through
- <span class="guimenu"><span class="accel">I</span>mage</span> ‚Üí <span class="guimenuitem"><span class="accel">S</span>cale image</span>.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2699494"></a>9.14.2. 
- <span lang="en" xml:lang="en">
- The “<span class="quote">Scale Image</span>” Dialog
- </span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2699509"></a>
- <p class="title">
- <b>Figure 15.80. 
- <span lang="en" xml:lang="en">
- The
- “<span class="quote">Scale Image</span>”
- dialog
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/scale-image.png" alt="The Scale Image dialog" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Image Size</span>
- </dt>
- <dd>
- <p>
- You should keep in mind that an image can be located in one of
- four places: in the image file, in RAM after it has been loaded,
- on your screen when it is displayed, or on paper after it has been
- printed. Scaling the image changes the number of pixels (the
- amount of information) the image contains, so it directly affects
- the amount of memory the image needs (in RAM or in a file).
- </p>
- <p>
- However printing size also depends upon the resolution of the
- image, which essentially determines how many pixels there will
- be on each inch of paper. If you want to change the printing
- size without scaling the image and changing the number of pixels
- in it, you should use the
- <a class="link" href="gimp-image-print-size.html" title="9.13.  Print Size">Print Size</a> dialog.
- The screen size depends not only on the number of pixels, but
- also on the screen resolution, the zoom factor and the setting
- of the <a class="link" href="gimp-view-dot-for-dot.html" title="8.3.  Dot for Dot">Dot for Dot</a>
- option.
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Width; Height</span>
- </dt>
- <dd>
- <p>
- When you click on the <span class="guimenuitem">Scale</span>
- command, the dialog displays the dimensions of the
- original image in pixels. You can set the
- <span class="guilabel">Width</span> and the
- <span class="guilabel">Height</span> you want to give to your
- image by adding or removing pixels. If the chain icon next
- to the Width and Height boxes is unbroken, the Width and
- Height will stay in the same proportion to each other. If
- you break the chain by clicking on it, you can set them
- independently, but this will distort the image.
- </p>
- <p>
- However, you do not have to set the dimensions in pixels.
- You can choose different units from the drop-down menu.
- If you choose percent as the units, you can set the image
- size relative to its original size. You can also use
- physical units, such as inches or millimeters. If you do
- that, you should set the <span class="guilabel">X resolution</span>
- and <span class="guilabel">Y resolution</span> fields to
- appropriate values, because they are used to convert
- between physical units and image dimensions in pixels.
- </p>
- <p>
- If you enlarge an image beyond its original size,
- <acronym class="acronym">GIMP</acronym> calculates the missing
- pixels by interpolation, but it does not add any new
- detail. The more you enlarge an image, the more blurred
- it becomes. The appearance of an enlarged image depends
- upon the interpolation method you choose. You may improve
- the appearance by using the
- <a class="link" href="plug-in-sharpen.html" title="5.8.  Sharpen">Sharpen</a> filter
- after you have scaled an image, but it is best to
- use high resolution when you scan, take digital
- photographs or produce digital images by other means.
- Raster images inherently do not scale up well.
- </p>
- <p>
- You may need to reduce your image if you intend to use it on
- a web page. You have to consider that most internet users
- have relatively small screens which cannot completely
- display a large image. Many screens have a resolution of
- 1024x768 or even less.
- </p>
- <p>
- Adding or removing pixels is called
- “<span class="quote">Resampling</span>”.
- </p>
- </dd>
- <dt>
- <span class="term">X resolution; Y resolution</span>
- </dt>
- <dd>
- <p>
- You can set the printing resolution for the image in the
- <span class="guilabel">X resolution</span>
- and <span class="guilabel">Y resolution</span>
- fields. You can also change the units of measurement by
- using the drop-down menu.
- </p>
- </dd>
- </dl>
- </div>
- </dd>
- <dt>
- <span class="term">Quality</span>
- </dt>
- <dd>
- <p>
- To change the image size, either some pixels have to be removed
- or new pixels must be added. The process you use determines the
- quality of the result. The <span class="guilabel">Interpolation</span>
- drop down list provides a selection of available methods of
- interpolating the color of pixels in a scaled image:
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Interpolation</span>
- </dt>
- <dd>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- <span class="guilabel">None</span>:
- No interpolation is used. Pixels are simply enlarged
- or removed, as they are when zooming. This method is low
- quality, but very fast.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Linear</span>: This method is relatively
- fast, but still provides fairly good results.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Cubic</span>:
- The method that produces the best results, but also
- the slowest method.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Sinc (Lanczos 3)</span>: New with
- GIMP-2.4, this method gives less blur in important
- resizings.
- </p>
- </li>
- </ul>
- </div>
- </dd>
- </dl>
- </div>
- </dd>
- </dl>
- </div>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- See also the <a class="link" href="gimp-tool-scale.html" title="4.6.  Scale">Scale tool</a>,
- which lets you scale a layer, a selection or a path.
- </p>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-image-print-size.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-imagewindow-menus-image.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-image-crop.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-image-print-size.html">9.13. 
- <span lang="en" xml:lang="en">Print Size</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="gimp-image-crop.html">9.15. 
- <span lang="en" xml:lang="en">Crop to Selection</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-